package com.baidu.structure.adapter.vh;

import android.support.v7.widget.RecyclerView;
import android.view.View;
import android.widget.Button;
import android.widget.ImageView;
import android.widget.TextView;

import com.baidu.structure.R;

/**
 * Created by sunmo on 2016/12/1.
 */
public class AddContactViewHolder extends RecyclerView.ViewHolder{
    private ImageView iconView;
    private TextView titleView;
    private Button   addButton;

    public ImageView getIconView() {
        return iconView;
    }

    public TextView getTitleView() {
        return titleView;
    }

    public Button getAddButton() {
        return addButton;
    }

    public AddContactViewHolder(View itemView) {
        super(itemView);
        iconView= (ImageView) itemView.findViewById(R.id.icon_view);
        titleView= (TextView) itemView.findViewById(R.id.name_view);
        addButton= (Button) itemView.findViewById(R.id.add_button);
        addButton.setVisibility(View.VISIBLE);
    }
}
